<layout name='layout' />
<script>
	$(function() {
		$( "tr" ).click(function(){window.location.href="../ProjectManage/select?pid="+$(this).find("td:eq(0)").text();});
		
		$( "#pname" ).autocomplete({
			source: "../ProjectManage/checkProjName",
			minLength: 1,
		});
		$( "#managername" ).autocomplete({
			source: "../Message/checkName",
			minLength: 1,
		});
		$( "#fund" ).autocomplete({
			source: "../ProjectManage/checkFundName",
			minLength: 1,
		});
		
		
		
		
	});
	
	</script>
<hr size=8 style="COLOR: #ffd306;border-style:outset;width:490;"> 
<h1>项目信息</h1>

<div class="ui-widget">
	<form action="__URL__/queryproj" method="GET">
   
    <label for="tags" >项目名: </label>
	<input id="pname" name="pname" type="text" />
    
    <label for="tags" >项目经理名称: </label>
	<input id="managername" name="managername" type="text" />
   
    <label for="tags" >已投基金: </label>
	<input id="fund" name="fund" type="text" />
    <input type="submit" value="搜索">
    </form>
</div>
<present name="list">
<div>
<table  id="myTable" class="tablesorter" >
	<thead>
    <tr>
    	<th  style="display:none">pid</th>
        <th>项目名</th>
        <th>项目经理</th>
		<th>主管合作人</th>
        <th>已投基金</th>
        <th>状态</th>
		
    </tr>
    </thead> 
    <tbody> 
    <volist name="list" id="vo">
    <tr>
    	<td  style="display:none">{$vo['pid']}</td>
        <td>{$vo['pname']}</td>
		<td>{$vo['managername']}</td>
        <td>{$vo['partnername']}</td>
        <td>{$vo['fund']}</td>
        <td>{$vo['state']}</td>
    </tr>
    </volist>
    </tbody> 
</table>
</div>
<div>{$page}</div>
<else />
<h2>没有符合条件的项目</h2> 
</present>